@echo off
:: MXSPLI-ShareMX
:: MixSoft Programming Language Interpreter
:: Version v4_ShareMXv1
:: Developers: Mihail Mojsoski
mode con:cols=100 lines=30
set filepath=%~dp1
set mypath=%~dp0
set cfile=%~1
cd %mypath%
path %mypath%;%mypath%\debug;%path%
call lang.bat
call prog.bat --vercheck
call dbg --clean
cls
echo.
title %LNG_DBG10% v%version%
echo %LNG_DBG6% %LNG_DBG10% v%version%
if not exist "%~1" (
	echo %LNG_DBG8%
) else (
	echo %LNG_DBG7%
	echo "%~1"
)
echo %LNG_DBG9%
:console
color 1F
prompt $$debug:$C$P$F$G
call cmd /k ""
goto crash

:crash
echo %LNG_DBUG4%
goto console

:end